BL2_AT_EL3: Enable pointer authentication support
authorAntonio Nino Diaz <[email protected]>
Thu, 31 Jan 2019 17:40:44 +0000 (17:40 +0000)
committerAntonio Nino Diaz <[email protected]>
Wed, 27 Feb 2019 11:58:09 +0000 (11:58 +0000)
commitdcbfa11bd96af98dbb93df3410008f025a131d59
treec9ad50e1908d5c988e2efaea5ed544d82706c281
parent9d93fc2f89a00e104bfe6be31f87861c26ba2bf0
BL2_AT_EL3: Enable pointer authentication support

The size increase after enabling options related to ARMv8.3-PAuth is:

+----------------------------+-------+-------+-------+--------+
|                            |  text |  bss  |  data | rodata |
+----------------------------+-------+-------+-------+--------+
| CTX_INCLUDE_PAUTH_REGS = 1 |   +44 |   +0  |   +0  |   +0   |
|                            |  0.2% |       |       |        |
+----------------------------+-------+-------+-------+--------+
| ENABLE_PAUTH = 1           |  +712 |   +0  |  +16  |   +0   |
|                            |  3.1% |       |  0.9% |        |
+----------------------------+-------+-------+-------+--------+

The results are valid for the following build configuration:

    make PLAT=fvp SPD=tspd DEBUG=1 \
    BL2_AT_EL3=1                   \
    CTX_INCLUDE_PAUTH_REGS=1       \
    ENABLE_PAUTH=1

Change-Id: I1c0616e7dea30962a92b4fd113428bc30a018320
Signed-off-by: Antonio Nino Diaz <[email protected]>
bl2/aarch32/bl2_el3_entrypoint.S
bl2/aarch64/bl2_el3_entrypoint.S
bl2/bl2_main.c
include/bl2/bl2.h